LOCAL_PATH :=$(call my-dir)
include $(CLEAR_VARS)
OpenCV_INSTALL_MODULES := on
OpenCV_CAMERA_MODULES := off
OPENCV_LIB_TYPE:=STATIC
include /opt/android-sdk/OpenCV-android-sdk/sdk/native/jni/OpenCV.mk
LOCAL_MODULE :=calmcar_adas
LOCAL_CPPFLAGS := -std=c++11 -DJSON_IS_AMALGAMATION
		LOCAL_C_INCLUDES += $(LOCAL_PATH)/json
		LOCAL_LDLIBS += -latomic
		LOCAL_LDLIBS += -llog
		LOCAL_SRC_FILES :=calculate_tools.cpp\
		custom_hough_lines.cpp\
		data_frame.cpp\
		debug_show.cpp\
		jsoncpp.cpp\
		lane_config.cpp\
         lane_detection.cpp\
         lane_feature_extraction_v0.cpp\
         lane_kalman.cpp\
         lane_matrix.cpp\
         lane_model_fitting.cpp\
         least_square_fitting.cpp\
         MD5.cpp\
         road_marking_detection.cpp\
		SimdBaseAbsDifferenceSum.cpp\
         SimdBaseAbsGradientSaturatedSum.cpp\
                  		                  SimdBaseAddFeatureDifference.cpp\
                  		                  SimdBaseAlphaBlending.cpp\
                  		                  SimdBaseBackground.cpp\
                  		                  SimdBaseBayerToBgr.cpp\
                  		                  SimdBaseBayerToBgra.cpp\
                  		                  SimdBaseBgraToBayer.cpp\
                  		                  SimdBaseBgraToBgr.cpp\
                  		                  SimdBaseBgraToGray.cpp\
                  		                  SimdBaseBgraToYuv.cpp\
                  		                  SimdBaseBgrToBayer.cpp\
                  		                  SimdBaseBgrToBgra.cpp\
                  		                  SimdBaseBgrToGray.cpp\
                  		                  SimdBaseBgrToHsl.cpp\
                  		                  SimdBaseBgrToHsv.cpp\
                  		                  SimdBaseBgrToYuv.cpp\
                  		                  SimdBaseBinarization.cpp\
                  		                  SimdBaseConditional.cpp\
                  		                  SimdBaseCopy.cpp\
                  		                  SimdBaseCrc32.cpp\
                  		                  SimdBaseDeinterleave.cpp\
                  		                  SimdBaseDetection.cpp\
                  		                  SimdBaseEdgeBackground.cpp\
                  		                  SimdBaseFill.cpp\
                  		                  SimdBaseFloat16.cpp\
                  		                  SimdBaseFloat32.cpp\
                  		                  SimdBaseGaussianBlur3x3.cpp\
                  		                  SimdBaseGemm32f.cpp\
                  		                  SimdBaseGrayToBgr.cpp\
                  		                  SimdBaseGrayToBgra.cpp\
                  		                  SimdBaseHistogram.cpp\
                  		                  SimdBaseHog.cpp\
                  		                  SimdBaseHogLite.cpp\
                  		                  SimdBaseInt16ToGray.cpp\
                  		                  SimdBaseIntegral.cpp\
                  		                  SimdBaseInterference.cpp\
                  		                  SimdBaseInterleave.cpp\
                  		                  SimdBaseLaplace.cpp\
                  		                  SimdBaseLbp.cpp\
                  		                  SimdBaseMeanFilter3x3.cpp\
                  		                  SimdBaseMedianFilter.cpp\
                  		                  SimdBaseNeural.cpp\
                  		                  SimdBaseOperation.cpp\
                  		                  SimdBaseReduceGray2x2.cpp\
                  		                  SimdBaseReduceGray3x3.cpp\
                  		                  SimdBaseReduceGray4x4.cpp\
                  		                  SimdBaseReduceGray5x5.cpp\
                  		                  SimdBaseReorder.cpp\
                  		                  SimdBaseResizeBilinear.cpp\
                  		                  SimdBaseResizer.cpp\
                  		                  SimdBaseSegmentation.cpp\
                  		                  SimdBaseShiftBilinear.cpp\
                  		                  SimdBaseSobel.cpp\
                  		                  SimdBaseSquaredDifferenceSum.cpp\
                  		                  SimdBaseStatistic.cpp\
                  		                  SimdBaseStretchGray2x2.cpp\
                  		                  SimdBaseSvm.cpp\
                  		                  SimdBaseSynet.cpp\
                  		                  SimdBaseTexture.cpp\
                  		                  SimdBaseThread.cpp\
                  		                  SimdBaseYuvToBgr.cpp\
                  		                  SimdBaseYuvToBgra.cpp\
                  		                  SimdBaseYuvToHsl.cpp\
                  		                  SimdBaseYuvToHsv.cpp\
                  		                  SimdBaseYuvToHue.cpp\
                  		                  SimdBase_tinyxml2.cpp\
                  		                  SimdLib.cpp\
                  		                  SimdMsaOperation.cpp\
                  		                  SimdNeonAbsDifferenceSum.cpp\
                  		                  SimdNeonAbsGradientSaturatedSum.cpp\
                  		                  SimdNeonAddFeatureDifference.cpp\
                  		                  SimdNeonAlphaBlending.cpp\
                  		                  SimdNeonBackground.cpp\
                  		                  SimdNeonBgraToBayer.cpp\
                  		                  SimdNeonBgraToBgr.cpp\
                  		                  SimdNeonBgraToGray.cpp\
                  		                  SimdNeonBgraToYuv.cpp\
                  		                  SimdNeonBgrToBayer.cpp\
                  		                  SimdNeonBgrToBgra.cpp\
                  		                  SimdNeonBgrToGray.cpp\
                  		                  SimdNeonBgrToYuv.cpp\
                  		                  SimdNeonBinarization.cpp\
                  		                  SimdNeonConditional.cpp\
                  		                  SimdNeonDeinterleave.cpp\
                  		                  SimdNeonDetection.cpp\
                  		                  SimdNeonEdgeBackground.cpp\
                  		                  SimdNeonFill.cpp\
                  		                  SimdNeonFloat16.cpp\
                  		                  SimdNeonFloat32.cpp\
                  		                  SimdNeonGaussianBlur3x3.cpp\
                  		                  SimdNeonGrayToBgr.cpp\
                  		                  SimdNeonGrayToBgra.cpp\
                  		                  SimdNeonHistogram.cpp\
                  		                  SimdNeonHog.cpp\
                  		                  SimdNeonInt16ToGray.cpp\
                  		                  SimdNeonInterference.cpp\
                  		                  SimdNeonInterleave.cpp\
                  		                  SimdNeonLaplace.cpp\
                  		                  SimdNeonLbp.cpp\
                  		                  SimdNeonMeanFilter3x3.cpp\
                  		                  SimdNeonMedianFilter.cpp\
                  		                  SimdNeonNeural.cpp\
                  		                  SimdNeonOperation.cpp\
                  		                  SimdNeonReduceGray2x2.cpp\
                  		                  SimdNeonReduceGray3x3.cpp\
                  		                  SimdNeonReduceGray4x4.cpp\
                  		                  SimdNeonReduceGray5x5.cpp\
                  		                  SimdNeonReorder.cpp\
                  		                  SimdNeonResizeBilinear.cpp\
                  		                  SimdNeonSegmentation.cpp\
                  		                  SimdNeonShiftBilinear.cpp\
                  		                  SimdNeonSobel.cpp\
                  		                  SimdNeonSquaredDifferenceSum.cpp\
                  		                  SimdNeonStatistic.cpp\
                  		                  SimdNeonStretchGray2x2.cpp\
                  		                  SimdNeonSvm.cpp\
                  		                  SimdNeonTexture.cpp\
                  		                  SimdNeonYuvToBgr.cpp\
                  		                  SimdNeonYuvToBgra.cpp\
                  		                  SimdNeonYuvToHue.cpp\
                  		                  SimdVmxAbsDifferenceSum.cpp\
                  		                  SimdVmxAbsGradientSaturatedSum.cpp\
                  		                  SimdVmxAddFeatureDifference.cpp\
                  		                  SimdVmxAlphaBlending.cpp\
                  		                  SimdVmxBackground.cpp\
                  		                  SimdVmxBgraToBayer.cpp\
                  		                  SimdVmxBgraToBgr.cpp\
                  		                  SimdVmxBgraToGray.cpp\
                  		                  SimdVmxBgraToYuv.cpp\
                  		                  SimdVmxBgrToBayer.cpp\
                  		                  SimdVmxBgrToBgra.cpp\
                  		                  SimdVmxBgrToGray.cpp\
                  		                  SimdVmxBgrToYuv.cpp\
                  		                  SimdVmxBinarization.cpp\
                  		                  SimdVmxConditional.cpp\
                  		                  SimdVmxDeinterleave.cpp\
                  		                  SimdVmxEdgeBackground.cpp\
                  		                  SimdVmxFill.cpp\
                  		                  SimdVmxGaussianBlur3x3.cpp\
                  		                  SimdVmxGrayToBgr.cpp\
                  		                  SimdVmxGrayToBgra.cpp\
                  		                  SimdVmxHistogram.cpp\
                  		                  SimdVmxInterference.cpp\
                  		                  SimdVmxInterleave.cpp\
                  		                  SimdVmxLaplace.cpp\
                  		                  SimdVmxLbp.cpp\
                  		                  SimdVmxMeanFilter3x3.cpp\
                  		                  SimdVmxMedianFilter.cpp\
                  		                  SimdVmxOperation.cpp\
                  		                  SimdVmxReduceGray2x2.cpp\
                  		                  SimdVmxReduceGray3x3.cpp\
                  		                  SimdVmxReduceGray4x4.cpp\
                  		                  SimdVmxReduceGray5x5.cpp\
                  		                  SimdVmxReorder.cpp\
                  		                  SimdVmxResizeBilinear.cpp\
                  		                  SimdVmxSegmentation.cpp\
                  		                  SimdVmxShiftBilinear.cpp\
                  		                  SimdVmxSobel.cpp\
                  		                  SimdVmxSquaredDifferenceSum.cpp\
                  		                  SimdVmxStatistic.cpp\
                  		                  SimdVmxStretchGray2x2.cpp\
                  		                  SimdVmxTexture.cpp\
                  		                  SimdVmxYuvToBgr.cpp\
                  		                  SimdVmxYuvToBgra.cpp\
                  		                  SimdVsxHog.cpp\
                  		                  SimdVsxNeural.cpp\
                  		                  SimdVsxSquaredDifferenceSum.cpp\
                  		                  SimdVsxSvm.cpp\
                  		                  SimdVsxYuvToHue.cpp\
                  		                  tianjin_calmcar_calmcar_adas_AdasCarLaneWarper.cpp

		include $(BUILD_SHARED_LIBRARY)
